package com.xie.service;

import com.xie.pojo.Homework;

import java.util.List;

public interface HomeworkService {
    int addHomework(Homework homework);

    List<Homework> queryAllHomework();

    int deleteHomework(int homework_id);

    int updateHomework(Homework homework);

    Homework queryHomework(int homework_id);

    List<Homework> queryHomeworkByName(String sname);



}
